<template>
	<view>
		<!-- <nmr-nav title="短视频推介"></nmr-nav> -->
		<video :autoplay="true" :show-fullscreen-btn="false" :src="fullscreenUrl" style="width: 100vw;height: 98vh;"
			controls>
			<cover-image src="@/static/maskCha.png" @click="videoClose" class="closeBox" mode="">
			</cover-image>
		</video>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				fullscreenUrl: ''
			}
		},
		methods: {
			videoClose() {
				uni.navigateBack({
					delta: 1
				})
			}
		},
		onLoad(e) {
			this.fullscreenUrl = e.url
		},
	}
</script>

<style scoped>
	.closeBox {
		width: 50rpx;
		height: 50rpx;
		position: absolute;
		top: 44rpx;
		right: 30rpx;
		z-index: 99999;
	}
</style>
